import { post, get } from '@/utils/request'

/**
 * 试卷列表
 * @param data
 */
export function listPaper(userId, examId) {
  return post('/exam/api/paper/paper/paging', { current: 1, size: 5, params: { userId: userId, examId: examId }})
}

/**
 * my-apply-re
 */
export function myApplyRe(data) {
  return post('/exam/api/user/exam/my-apply-re', data)
}

/**
 * 获取匿名考试申请
 * /exam/api/paper/paper/getApplyExamAnon
 */
export function getApplyExamAnon(params) {
  return get('/exam/api/paper/paper/getApplyExamAnon', params)
}
